package com.shuwen.gcdj.bean.member.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
@ApiModel
public class UserBindRolesReq {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 待绑定角色ID集合
     */
    @ApiModelProperty(value = "待绑定角色ID集合", required = true)
    private List<String> roleIds;
}
